package com.atguigu.gulimall.product.feign;

import com.atguigu.common.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author ming
 * @create 2022/4/28
 * @description:
 */
@FeignClient("gulimall-search")
public interface SearchFignService {
    @PostMapping("/search/product")
     R productStartUp(@RequestBody List<SkuEsModel> skuEsModels);
}
